package com.aaa.three.pojo.query;

import lombok.Data;

/**
 * @PACKAGE_NAME: com.aaa.three.pojo.query
 * @NAME: DoctorLimit
 * @USER: Tprairie
 * @DATE: 2022/2/16
 * @PROJECT_NAME: three
 */
@Data
public class DoctorLimit {
    private Integer page;
    private Integer pageCount;

    public Integer getIndex(){
        return (page - 1)*pageCount;
    }
}
